package com.qiaoya.constant;

/**
 * @author XIAOQIAO
 * @since 20170517
 */
public class ErrorCode {
	public static final int REQUEST_STATUS_SUCESS=200;//请求成功

	//内部错误，500 Internal Server Error代表服务器异常，这里代表内部处理失败无异常
    public static final int SERVER_INTERNAL_ERROR = 1000;
    public static final int PARAMETER_MISSING_ERROR = 1001;
    public static final int PARAMETER_ILLEGAL_ERROR = 1002;
    public static final int RESOURCE_NOT_FOUND_ERROR = 1003;
	public static final int REQUEST_STATUS_UNKNOW=1004;//请求状态未知，如果是订单，需要和第三方核单
	public static final int REQUEST_STATUS_FAIL=1005;//请求失败
	
    public static final int ACCOUNT_INVALID_ERROR = 2001;
    public static final int ACCOUNT_NOT_FOUND_ERROR = 2002;
    public static final int AUTHENTICATION_ERROR = 2003;
    public static final int ACCOUNT_NO_MOBILE_ERROR = 2004;
    
    public static final int BALANCE_NOT_ENOUGH_ERROR = 8001;
    public static final int PAY_FAIL_ERROR = 8002;
    public static final int REFOUND_FAIL_ERROR = 8003; 
    public static final int TRADE_REPEAT_ERROR = 8004; 

    /**
     * Prevent instantiation
     */
    private ErrorCode() {
    }

}
